package net;

public class SocketEnum {
	public static final int reconnI = 1;
	public static final int returnHallI = -2;
	public static final int closeConnI = -1;
	public static final int guangboI = -48;
	public static final int playerI = 6;
	public static final int bagI = 7;
	
	
	public static final int CONN = 0;
	public static final int BEGIN = 1;
	public static final int CHANGBET = 2;
	public static final int CHOOSE = 3;
	public static final int STARTBONUS = 4;
	public static final int GETPLAYERINFO = 7;
	public static final int RECONN = 8;
	public static final int JOINROOM = 20;

	public static final byte infoI = 0;
	public static final byte myBetI = 2;
	public static final byte beginBonusI = 3;
	public static final byte gameResultI = 4;
	public static final byte initDeskI = 5;
	public static final byte bonusResultI = 6;
	public static final byte beginFanPaiI = 7;
	public static final byte freeInfo = 8;
	public static final byte endBonusI = 9;
	public static final byte caiJingInfoI = 10;
	public static final byte paiList = 11;
	public static final byte fenReward = 12;
	public static final byte playerAllListI = 18;
	public static final byte gameOverI = 19;
	public static final byte connI = 44;
    public static final int reJoinRoom = 45;
    public static final int deskI = 100;

	public static String getMessageName(int massageHead) {
		String messageName = "";
		switch (massageHead) {
		case infoI:
			messageName = "显示信息";
			break;
		case initDeskI:
			messageName = "初始化桌子";
			break;
		case gameOverI:
			messageName = "游戏结束";
			break;
		}
		return messageName;
	}

	// 监控系统
	public static final int DataMonitored_CONN = 300;

	public static final int DataMonitored_GETROOMLIST = 301;
	public static final int DataMonitored_GETDESKLIST = 302;

	public static final int DataMonitored_GETDESKINFO = 303;

	public static final int DataMonitored_GETPLAYERINFO = 304;

	public static final int DataMonitored_GETCONFIG = 305;
	public static final int DataMonitored_UPDATACONFIG = 306;
	public static final int DataMonitored_GETPOINTCONTROLLIST = 307;
	public static final int DataMonitored_ADDPOINTCONTROL = 308;
	public static final int DataMonitored_DELPOINTCONTROL = 309;

	public static final int DataMonitored_STARTDESK = 310;
	public static final int DataMonitored_CLOSEDESK = 311;

	public static final int DataMonitored_GETDEBUG = 312;
	public static final int DataMonitored_SETDEBUG = 313;
	public static final int DataMonitored_SENDGUANGBO = 314;
	public static final int DataMonitored_READDB = 315;

	public static final int DataMonitored_GETWAITINFO = 316;

	public static final int DataMonitored_connI = 300;

	public static final int DataMonitored_getRoomListI = 301;
	public static final int DataMonitored_getDeskListI = 302;
	public static final int DataMonitored_getDeskInfoI = 303;
	public static final int DataMonitored_getPlayerInfoI = 304;

	public static final int DataMonitored_getConfigI = 305;

	public static final int DataMonitored_getPointControlListI = 306;
	public static final int DataMonitored_getDebugI = 307;

	public static final int DataMonitored_getWaitInfoI = 308;
	//500-600为机器人
	public static final int androidExitI = 501;
}
